package com.atguigu.gulimall.product.entity.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    //1。获取sku的基本信息 pms_sku_info
    private SkuInfoEntity info;

    private boolean isStock = true;//是否有库存

    //2。获取sku的图片信息 pms_sku_images
    private List<SkuImagesEntity> images;

    //3。获取当前sku所属的spu的所有sku销售属性组合
    private List<SkuItemSaleAttrVo> saleAttrVos;

    //4。获取spu的介绍,大图介绍 pms_spu_info_desc
    private SpuInfoDescEntity desc;

    //5。获取spu的规格参数信息
    private List<SpuItemBaseAttrVo> baseAttrVos;

    //当前商品的秒杀优惠信息
    private SeckillInfoVo seckillInfoVo;

}
